package cc.customer.web.sys.controller.system;

import cc.customer.common.domain.ResponseBo;
import cc.customer.system.service.GradeService;
import cc.customer.web.sys.controller.base.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "grade")
public class GradeController extends BaseController {

    @Autowired
    private GradeService gradeService;

    @RequestMapping(value = "list")
    @ResponseBody
    public ResponseBo getAllList(){
        return gradeService.getAllList();
    }

}
